home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / ed.postinst < prev    next >
Text File  |  2008-02-29  |  487b  |  16 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. case "$1" in
  6.        configure|abort-upgrade|abort-remove|abort-deconfigure)
  7.                #
  8.                #       Install the info documentation
  9.                #
  10.            install-info --section "General commands" "General commands" \
  11.                 --quiet /usr/share/info/ed.info.gz
  12.            update-alternatives --quiet --install /usr/bin/editor editor /bin/ed -100 \
  13.           --slave /usr/share/man/man1/editor.1.gz editor.1.gz /usr/share/man/man1/ed.1.gz
  14.                ;;
  15. esac
  16.